html,body{
  height: 100%;
}
ul{
  margin: 0;
  padding: 0;
}
.school_con{
  height: calc(100% - 130px);
  background: #f5f5f5;
  position: relative;
  display: flex;
}
.school_nav{
  width: 13%;
  height: 85%;
  position: absolute;
  left: 8%;
  & ul{
    width: 100%;
    height: 100%;
    display: flex;
    flex-direction: column;
    align-items: center;
    & li{
      width: 100%;
      height: 100%;
      border-bottom: 1px dotted #f5f5f5;
      & a{
        width: 100%;
        height: 100%;
        display: flex;
        align-items: center;
        justify-content: center;
        background: #fff;
        color: #424141;
      }
      & a:hover{
        background: #dfdfdf ;
        color: #be1b29 ;
      }
    }
  }
}
.navRed{
  background: #dfdfdf !important;
  color: #be1b29 !important;
}
.school_content{
  width: 65%;
  position: absolute;
  left: 25%;
}
.location{
  display: flex;
  align-items: center;
  margin: 20px 0;
  font-size: 1.1rem;
}
.newList{
  background: #fff;
  padding: 4px;
  margin-bottom: 20px;
}
.newli{
  height: 80px;
  border-bottom: 1px dotted #e4e3e3;
  cursor: pointer;
  & h3{
    display: flex;
    align-items: center;
    font-weight: 400;
    & img{
      margin: 0 10px;
    }
    & span{
      text-wrap: nowrap;
      text-overflow: ellipsis;
      overflow: hidden;
    }
  }
  & p{
    text-indent: 30px;
    color: #919090;
    text-wrap: nowrap;
    text-overflow: ellipsis;
    overflow: hidden;
  }
}
.newsContent{
  width: 100%;
  position: absolute;
  display: none;
  box-sizing: border-box;
  & h2{
    text-align: center;
    margin-bottom: 100px;
  }
  & p{
    line-height: 44px;
  }
}
.pageButton{
  width: 100%;
  position: absolute;
  bottom: -200px;
  margin-bottom: 100px;
  display: flex;
  justify-content: space-between;
  & button{
    width: 150px;
    height: 50px;
    border: 0;
    background: #ff0000;
    cursor: pointer;
    color: #fff;
  }
}
@media (max-width: 768px) {
  .school_con{
    display: grid;
    gap: 10px;
    grid-template-columns: 100%;
    grid-template-rows: 50% auto;
  }
  .school_nav{
    position: sticky;
    width: 100%;
    height: auto;
    & ul{
      display: grid;
      gap: 3px;
      grid-template-columns: repeat(auto-fill,minmax(30px,49%));
    }
  }
  .school_content{
    position: static;
    width: 100%;
  }
  .newsContent{
    padding: 0 5px;
  }
}